package com.nodecollege.cloud.common.model.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nodecollege.cloud.common.constants.NCConstants;
import com.nodecollege.cloud.common.utils.DateUtils;
import lombok.Data;

import java.util.Date;

/**
 * Table: chat_debate
 * 版权：节点学院
 *
 * @author LC
 * @date 2020-02-22 18:16:08
 */
@Data
public class ChatDebate {
    /**
     * debate_id
     */
    private Integer debateId;

    /**
     * debate_type
     */
    private Integer debateType;

    /**
     * original_json
     */
    private String originalJson;

    /**
     * update_json
     */
    private String updateJson;

    /**
     * user_id
     */
    private Integer userId;

    /**
     * result
     */
    private Integer result;

    /**
     * support_num
     */
    private Integer supportNum;

    /**
     * refuse_num
     */
    private Integer refuseNum;

    /**
     * create_time
     */
    @JsonFormat(pattern = DateUtils.DATE_PATTERN.YYYY_MM_DD_HH_MM_SS, timezone = NCConstants.TIME_ZONE.SHANGHAI)
    private Date createTime;

    /**
     * end_time
     */
    private String endTime;
}